package com.ruoyi.web.controller.system.Fdongbei;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.Fdongbei.domain.TbWlccfw;
import com.ruoyi.system.Fdongbei.service.ITbWlccfwService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

import static com.ruoyi.common.core.domain.AjaxResult.success;
import static com.ruoyi.common.core.domain.R.ok;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author fufeng
 * @since 2024-12-10
 */
@RestController
@RequestMapping("/system/Fdongbei/tb-wlccfw")
public class TbWlccfwController {



    @Resource
    ITbWlccfwService iTbWlccfwService;

    @GetMapping("/countWlccfw")
    public AjaxResult countWlccfw(String nx_wx, String wlbh, String dm){
        return success(iTbWlccfwService.countWlccfw(nx_wx, wlbh, dm));
    }


    @PostMapping("/selectWlccfwdm")
    public AjaxResult selectWlccfwdm(@RequestBody TbWlccfw tbWlccfw){
        return success(iTbWlccfwService.selectWlccfwdm(tbWlccfw));
    }


}

